/*
 * Copyright (c) 2020. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

package com.gehj.uhttp.entity;

/**
 * 此种思路已经作废
* RecordItem 兑换记录的item 同时包含头SECTION 与 兑换记录record(每月)（体）
* @author gehj
* @time 2020/11/26 11:38
*/

public class RecordItem {
     public static final int SECTION = 0; //头部布局
     public static final int ITEM = 1; //record记录的布局


    public int type;//type在适配器中要分配不同布局；

    private  long GroupID;
    private  MonthSummary monthSummary; //兑换记录每月汇总信息
    private  RecordListBean recordListBean ;//兑换记录实体

    public RecordItem(int type, MonthSummary summary){
        this.type = type;
        this.monthSummary = summary;
    }

    public RecordItem(int type, RecordListBean recordListBean){
        this.type = type;
        this.recordListBean = recordListBean;
    }


    public MonthSummary getMonthSummary() {
        return monthSummary;
    }

    public void setMonthSummary(MonthSummary monthSummary) {
        this.monthSummary = monthSummary;
    }

    public RecordListBean getRecordListBean() {
        return recordListBean;
    }

    public void setRecordListBean(RecordListBean recordListBean) {
        this.recordListBean = recordListBean;
    }

    public long getGroupID() {
        return GroupID;
    }

    public void setGroupID(long groupID) {
        GroupID = groupID;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
